简体版 English
تسجيل الدخول إنشاء حساب جديد

global variable معنى

يبدو
"global variable" أمثلة على
الترجمة العربيةجوال إصدار
  • متغيّر عمومي
أمثلة
  • Static members of public classes can substitute for global variables and functions.
    تعد الطرق الاستاتيكية الخاصة بالصفوف العامة بديلاً للتوابع والمتحولات الشاملة.
  • Maintaining global variables isn't complex.
    الحفاظ على المتغيرات العالمية ليست معقدة.
  • The C# language does not allow for global variables or functions.
    لا تسمح لغة سي# باستخدام المتحولات العامة ولا التوابع الشاملة إذ يجب التصريح عن كافة الطرق والأعضاء ضمن الصفوف.
  • This is equivalent to the above shallow binding scheme, except that the central reference table is simply the global variable binding environment, in which the current meaning of the variable is its global value.
    وهذا يعادل مخطط الربط الضحلة أعلاه ، فيما عدا أن الجدول المرجعي المركزي هو ببساطة بيئة الربط المتغيرة العالمية ، التي يكون فيها المعنى الحالي للمتغير هو قيمته العالمية.
  • Variable names with global scope — called global variables — are frequently considered bad practice, at least in some languages, due to the possibility of name collisions and unintentional masking, together with poor modularity, and function scope or block scope are considered preferable.
    والتي تسمى المتغيرات العالمية - من الممارسات السيئة ، على الأقل في بعض اللغات ، بسبب إمكانية حدوث تضارب في الأسماء والاقتناع غير المقصود ، جنباً إلى جنب مع ضعف النمطية ، والنطاق الوظيفي أو نطاق الكتلة.
  • In other cases "lifetime" is irrelevant – a label (named position in the source code) has lifetime identical with the program (for statically compiled languages), but may be in or out of context at a given point in the program, and likewise for static variables – a static global variable is in context for the entire program, while a static local variable is only in context within a function or other local context, but both have lifetime of the entire run of the program.
    العلامة (المسمى بموضع في شفرة المصدر) لها عمر متطابق مع البرنامج (للغات المجمعة بشكل ثابت) ، ولكنها قد تكون داخل أو خارج السياق في نقطة معينة في البرنامج ، وبالمثل للمتغيرات الثابتة - المتغير العام الثابت في سياق البرنامج بأكمله ، بينما يكون المتغير المحلي الثابت في السياق فقط داخل دالة أو سياق محلي آخر ، ولكن كلاهما له عمر كامل لتشغيل البرنامج.